/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sim_cognitive;

/**
 *
 * @author ambassador
 */
public class Band {
    private int id;
    private boolean availability;
    
    
    public Band( int id, boolean availability){
        this.id=id;
        this.availability=availability;
        this.print();
    }
    
    
    public void print(){
        System.out.println("Band#" + this.id + " is " + this.availability +"\n");
    }
    
    boolean getAvailability(){
        return availability;
    }
    
    int getId(){
        return id;
    }
    
    void setAvailability(boolean availability){
        this.availability=availability;
    }
    
    void setId(int id){
        this.id=id;
    }
    
    
           
}
